package com.zcx.mall.oauth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zcx.mall.oauth.entity.UserInfoEntity;
import com.zcx.mall.oauth.vo.RegisterUserRequest;
import com.zcx.mall.oauth.vo.SmsResult;

/**
 * 
 *
 * @author zhangcx
 * @email 592854967@qq.com
 * @date 2021-02-28 08:57:52
 */
public interface UserInfoService extends IService<UserInfoEntity> {

    /**
     *  根据用户名查询用户
     * @param username
     */
    public UserInfoEntity selectByUsername(String username);
    /**
     * 根据手机号查询用户
     * @param mobile
     * @return com.zcx.mall.oauth.entity.SysUser
     */
    public UserInfoEntity selectByMobile(String mobile);

    public SmsResult register(RegisterUserRequest registerUserRequest);
}

